#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a,b; 
	a=500;
	b=200;
	cout<<a*b<<"\n";
	a=a+10;
	b=b+10;
	cout<<a*b;
	return 0;
}
